package com.pzh.logistics.mbg.mapper;

import com.pzh.logistics.mbg.model.Transit;

import java.util.List;

public interface TransitMapper {
    int deleteByPrimaryKey(Integer transitId);

    int insert(Transit record);

    int insertSelective(Transit record);

    Transit selectByPrimaryKey(Integer transitId);

    int updateByPrimaryKeySelective(Transit record);

    int updateByPrimaryKey(Transit record);

    Transit selectTransitByOrderIdAndIsFinish(Integer orderId, Integer isFinish);

    List<Transit> selectTransitByOrderId(Integer orderId);
}